<?php

use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;

class InfrastructuresTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
    	$settings = [
    		[
    			'company_id' => 1,
    			'fingerprint' => 2,
    			'contract' => 10,
    			'internship' => 30,
    			'absenteeism' => 30,
    			'earlier' => 60,
    			'late' => 60,
    			'continuous' => 3,
    			'created_at' => date('Y-m-d H:i:s'),
    			'updated_at' => date('Y-m-d H:i:s')
			],[
    			'company_id' => 2,
    			'fingerprint' => 2,
    			'contract' => 10,
    			'internship' => 30,
    			'absenteeism' => 30,
    			'earlier' => 60,
    			'late' => 60,
    			'continuous' => 3,
    			'created_at' => date('Y-m-d H:i:s'),
    			'updated_at' => date('Y-m-d H:i:s')
			],[
    			'company_id' => 3,
    			'fingerprint' => 2,
    			'contract' => 10,
    			'internship' => 30,
    			'absenteeism' => 30,
    			'earlier' => 60,
    			'late' => 60,
    			'continuous' => 3,
    			'created_at' => date('Y-m-d H:i:s'),
    			'updated_at' => date('Y-m-d H:i:s')
			],[
    			'company_id' => 4,
    			'fingerprint' => 2,
    			'contract' => 10,
    			'internship' => 30,
    			'absenteeism' => 30,
    			'earlier' => 60,
    			'late' => 60,
    			'continuous' => 3,
    			'created_at' => date('Y-m-d H:i:s'),
    			'updated_at' => date('Y-m-d H:i:s')
			],
		];

    	DB::table('infrastructures')->insert($settings);
    }
}
